 <?php



Route::group(['namespace' => 'admin','prefix' => 'admin'], function () {

//后台主页面
 Route::resource('index','IndexController');


//用户相关页面
 Route::resource('user','UserController');



 //用户相关页面
 Route::resource('cat','CatController');




});